home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 May / Disc 1 / PCU0503CD1.iso / magstuff / program / files / quest312.exe / {app} / qdk.dat < prev    next >
Encoding:
Text File  |  2002-09-11  |  11.1 KB  |  92 lines

  1. #QDK-DAT-310-260602
  2. >Print
  3. msg;Print a message;1;Message;BIGTEXT;|cbPrint "|cg$1|cb"
  4. say;Print a message in quotes;1;Message;BIGTEXT;|cbPrint "|cg$1|cb" in quotes
  5. displaytext;Display a text block;1;Text block;TEXTBLOCKS;|cbPrint the "|cl$1|cb" text section
  6. font;Change the font;1;Font name;TEXT;|cbChange the font to "|cl$1|cb"
  7. background;Change the background colour;1;Colour;COLOURS;|cbChange the background colour to "|cl$1|cb"
  8. foreground;Change the foreground colour;1;Colour;COLOURS;|cbChange the foreground colour to "|cl$1|cb"
  9. clear;Clear the game window;0;|cbClear the game window;;Clears the game window.
  10. outputoff;Turn off text window output;0;|cbTurn off all output to the text window;;Turns off text window output.\This command suspends all printing of text to the text window. You must turn on text window output again if the player is to be able to see anything.
  11. outputon;Turn on text window output;0;|cbTurn on output to the text window;;Turns on text window output.
  12. >Game Control
  13. do;Run a procedure;2;Procedure;PROCEDURES;Parameters;-TEXT;|cbRun the "|cl$1|cb" procedure^2 with parameters "|cg$2|cb"^;1
  14. choose;Show a menu;1;Menu name;MENUS;|cbShow the "|cl$1|cb" menu
  15. for;Run a script a number of times;5;Counter variable;TEXT;Start value;TEXT;End value;TEXT;Step value;-TEXT;Script;SCRIPT;|cbRun the script (#5|cb) for |cl$1|cb from |cl$2|cb to |cl$3|cb^4, with steps of |cl$4|cb^;7
  16. for each object in game;Run a script for each object in the game;1;Script;SCRIPT;|cbFor each object in the game (#1|cb);8
  17. for each object in;Run a script for each object in a room;2;Room;ROOMS;Script;SCRIPT;|cbFor each object in "|cl$1|cb" (#2|cb);9
  18. repeat;Repeat a script;3;Repeat...;REPEAT;Conditions;CONDITIONS;Script;SCRIPT;|cbRepeat (#3|cb) |cl$1|cb (*2|cb);10
  19. return;Set this function's return value;1;Return;TEXT;|cbFunction returns "|cg$1|cb";;This command is only applicable if you are editing a function.
  20. >Objects
  21. property;Change/add an object/room property;2;Object or Room name;OBJSROOMS;Property data;TEXT;|cbChange/add "|cl$1|cb"'s property: "|cl$2|cb"
  22. action;Change/add object/room action script;3;Object or Room name;OBJSROOMS;Action name;TEXT;Script;SCRIPT;|cbChange/add "|cl$1|cb"'s "|cl$2|cb" action to (#3|cb);2
  23. type;Add a type to an object/room;2;Object or Room name;OBJSROOMS;Type name;TYPE;|cbAdd a type "|cl$2|cb" to "|cl$1|cb"
  24. doaction;Run an object's (or room's) action script;2;Object or Room name;OBJSROOMS;Action name;TEXT;|cbRun "|cl$1|cb"'s "|cl$2|cb" action script
  25. move;Move an object to another location;2;Move object;OBJECTS;To room;ROOMS;|cbMove object "|cl$1|cb" to "|cl$2|cb"
  26. hide;Make an object inaccessible;1;Object;OBJECTS;|cbMake "|cl$1|cb" inaccessible;;Making an object inaccessible means it won't appear in room descriptions and won't be able to be accessed by the player.
  27. show;Make an object accessible;1;Object;OBJECTS;|cbMake "|cl$1|cb" accessible
  28. conceal;Hide an object;1;Object;OBJECTS;|cbHide "|cl$1|cb";;Hiding an object means it won't appear in room descriptions, but will still be accessible to the player.
  29. reveal;Reveal an object;1;Object;OBJECTS;|cbReveal "|cl$1|cb"
  30. create object;Create an object;2;Object name;TEXT;In room;-ROOMS;|cbCreate an object called "|cl$1|cb"^2 in "|cb$2|cg"^
  31. clone;Clone an object;3;Object to Clone;OBJECTS;New Object Name;TEXT;Create Object in Room;-ROOMS;|cbClone the object "|cl$1|cb" as "|cl$2|cb"^3 in "|cl$3|cb"^
  32. >Rooms
  33. goto;Move the player to another room;1;Room;ROOMS;|cbMove the player to "|cl$1|cb"
  34. create room;Create a room;1;Room name;TEXT;|cbCreate a room called "|cl$1|cb"
  35. create exit north;Create/Change exit to the north;2;From room;ROOMS;To room;ROOMS;|cbCreate exit north from "|cl$1|cb" to "|cl$2|cb"
  36. create exit south;Create/Change exit to the south;2;From room;ROOMS;To room;ROOMS;|cbCreate exit south from "|cl$1|cb" to "|cl$2|cb"
  37. create exit east;Create/Change exit to the east;2;From room;ROOMS;To room;ROOMS;|cbCreate exit east from "|cl$1|cb" to "|cl$2|cb"
  38. create exit west;Create/Change exit to the west;2;From room;ROOMS;To room;ROOMS;|cbCreate exit west from "|cl$1|cb" to "|cl$2|cb"
  39. create exit out;Create/Change exit out;2;From room;ROOMS;To room;ROOMS;|cbCreate exit out from "|cl$1|cb" to "|cl$2|cb"
  40. create exit northeast;Create/Change exit to the northeast;2;From room;ROOMS;To room;ROOMS;|cbCreate exit northeast from "|cl$1|cb" to "|cl$2|cb"
  41. create exit northwest;Create/Change exit to the northwest;2;From room;ROOMS;To room;ROOMS;|cbCreate exit northwest from "|cl$1|cb" to "|cl$2|cb"
  42. create exit southeast;Create/Change exit to the southeast;2;From room;ROOMS;To room;ROOMS;|cbCreate exit southeast from "|cl$1|cb" to "|cl$2|cb"
  43. create exit southwest;Create/Change exit to the southwest;2;From room;ROOMS;To room;ROOMS;|cbCreate exit southwest from "|cl$1|cb" to "|cl$2|cb"
  44. create exit;Create a "Go to..." exit;2;From room;ROOMS;To room;ROOMS;|cbCreate an exit from "|cl$1|cb" to "|cl$2|cb"
  45. >Inventory
  46. give;Give an object to the player;1;Object;OBJECTS;|cbGive "|cl$1|cb" to the player
  47. lose;Take an object from the player;1;Object;OBJECTS;|cbTake "|cl$1|cb" from the player;;When the object is taken from the player, it is "dropped" in the current room. To completely remove the object from the player, you should make it inaccessible instead. (See the "Objects" category)
  48. >Variables
  49. set string;Set a string variable;2;String variable name;TEXT;Variable contents;TEXT;|cbChange the contents of string "|cl$1|cb" to "|cg$2|cb";;Don't put "#" characters around the variable name.
  50. set numeric;Set a numeric variable;2;Numeric variable name;TEXT;Variable contents;TEXT;|cbChange the contents of numeric variable "|cl$1|cb" to "|cg$2|cb";;Don't put "%" characters around the variable name.
  51. set;Set a variable;2;Variable name;TEXT;Variable contents;TEXT;|cbChange the contents of variable "|cl$1|cb" to "|cg$2|cb";;Use "Set a string variable" or "Set a numeric variable" when setting variable contents for the first time in a game. You can then, optionally, use "Set a variable" instead to change variable contents.
  52. >Finish the game
  53. stop;Finish the game;0;|cbFinish the game;;Finishes the game.
  54. playerlose;Finish the game by making the player lose;0;|cbMake the player lose;;Finishes the game (player loses).\When the player loses, any text in the "lose" text block is printed.
  55. playerwin;Finish the game by making the player win;0;|cbMake the player win;;Finishes the game (player wins).\When the player wins, any text in the "win" text block is printed.
  56. >Pictures & Sounds
  57. playwav;Play a wave sound;3;Filename;TEXT;Loop;CHECK loop;Synchronised;CHECK sync;|cbPlay the sound in "|cg$1|cb"^2, looped^^3, synchronised^;3;The .WAV extension is optional for the filename.\If you tick "Synchronised", Quest waits for the sound to finish playing before continuing.\Leave the filename blank to stop a wave sound playing.
  58. playmidi;Play a MIDI file;2;Filename;TEXT;Loop;CHECK loop;|cbPlay the midi file "|cg$1|cb"^2, looped^;;The .MID or .MIDI extension is required for the filename.\Leave the filename blank to stop a MIDI file playing.
  59. playmod;Play a mod (MOD, S3M, IT, XM etc.) file;2;Filename;TEXT;Loop;CHECK loop;|cbPlay the mod file "|cg$1|cb"^2, looped^;;The filename extension must be specified - Quest supports .MOD, .S3M, .IT, and .XM module formats. See www.modplug.com for software to create mod music files.\Leave the filename blank to stop a mod playing.
  60. modvolume;Change mod volume;1;Volume;TEXT;|cbChange mod volume to "|cb$1|cg";;Volume can be from 0 to 100. The default volume is 100.
  61. picture;Show a picture;3;Filename;TEXT;Size width x height eg 200x300;-TEXT;Caption;-TEXT;|cbShow picture "|cg$1|cb"^2 at size "|cg$2|cb"^^3 with caption "|cg$3|cb"^;4;The filename extension must be specified - Quest supports .GIF, .JPG, .BMP, .ICO, .RLE, .WMF and .EMF files.
  62. picture close;Close the picture window;0;|cbClose the picture window;;Closes the picture window.
  63. >Help window
  64. helpmsg;Print a message in the help window;1;Message;BIGTEXT;|cbPrint "|cg$1|cb" to the help window
  65. helpclear;Clear the help window;0;|cbClear the help window;;Clears the help window.
  66. helpclose;Close the help window;0;|cbClose the help window;;Closes the help window.
  67. helpdisplaytext;Display a text section in the help window;1;Text section;TEXTBLOCKS;|cbDisplay the "|cl$1|cb" text section in the help window
  68. >Timers
  69. timeron;Turn on a timer;1;Timer name;TIMERS;|cbTurn on timer "|cl$1|cb"
  70. timeroff;Turn off a timer;1;Timer name;TIMERS;|cbTurn off timer "|cl$1|cb"
  71. set interval;Set a timer interval;2;Timer name;TIMERS;Interval (seconds);TEXT;|cbSet timer "|cl$1|cb"'s interval to "|cl$2|cb" seconds
  72. >Other
  73. exec;Execute a command as if it were typed by the player;2;Command;TEXT;Built-in Quest command;CHECK normal;|cbExecute "|cg$1|cb" as if it were typed by the player^2 using Quest default commands^;3;Tick "Built-in Quest command" if you don't want to use any custom version of a command you've overrided.
  74. pause;Pause the game;1;Time (ms);TEXT;|cbPause for "|cg$1|cb" milliseconds
  75. wait;Wait for the player to press a key;1;Prompt;-TEXT;|cbWait for the player to press a key^1 with prompt "|cg$1|cb"^
  76. debug;Write to the log file;1;Log Text;TEXT;|cbWrite "|cg$1|cb" to the current log file
  77. enter;Enter next command into string variable;1;String variable;TEXT;|cbPut what the player types next into the "|cl$1|cb" string variable
  78. mailto;Send an email;1;Email address;TEXT;|cbSend an email to "|cg$1|cb"
  79. shell;Run an external file;2;Filename;TEXT;Not active;CHECK notactive;|cbRun file "|cg$1|cb"^2, not as the active window^;3;Command line switches are NOT allowed in the filename.\Tick "Not Active" if you want the focus to remain on the Quest window, rather than switch to the application window. Some files may be disallowed from being run, depending on the player's security options.
  80. shellexe;Run an EXE file;2;Filename;TEXT;Not active;CHECK notactive;|cbRun EXE file "|cg$1|cb"^2, not as the active window^;3;Command line switches ARE allowed in the filename.\Tick "Not Active" if you want the focus to remain on the Quest window, rather than switch to the application window. Some files may be disallowed from being run, depending on the player's security options.
  81. (other);Other script command;1;Script command;TEXT;|cb[Other script command: "|cr$1|cb"];5
  82. >if
  83. if-is;Compare two strings or values;3;String 1;TEXT;Comparison;COMP;String 2;TEXT;~|cb"|cl$1|cb" $2 "|cl$3|cb";6
  84. if-got;The player has an object;1;Object;OBJECTS;|cbthe player /has/does not have/ "|cl$1|cb"
  85. if-ask;The player answers 'yes' to a question;1;Question;TEXT;|cbthe player answers "/yes/no/" to "|cl$1|cb"
  86. if-here;An object is in the current room;1;Object;OBJECTS;"|cl$1|cb" is //not /in the current room
  87. if-property;An object (or room) has a property;2;Object or Room;OBJSROOMS;Property;TEXT;"|cl$1|cb" /has/does not have/ the property "|cl$2|cb"
  88. if-action;An object (or room) has an action defined;2;Object or Room;OBJSROOMS;Action;TEXT;"|cl$1|cb" /has/does not have/ an action "|cl$2|cb" defined
  89. if-type;An object (or room) is of a type;2;Object or Room;OBJSROOMS;Type;TYPES;"|cl$1|cb" is //not /of type "|cl$2|cb"
  90. if-exists;An object is defined in the game;1;Object;OBJECTS;"|cl$1|cb" is //not/ defined in the game
  91. if-real;An object is available for interaction;1;Object;OBJECTS;"|cl$1|cb" is //not/ available for interaction
  92. if;;0;